<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<div class="panel panel-default">
  <div class="panel-body">
    <ul class="nav nav-pills nav-stacked">
	  <!-- DASHBOARD -->
	  <c:if test="${requestScope.page == 'HOME'}">
	  	<li <c:if  test="${requestScope.subpage == 'DASHBOARD'}"> class="active" </c:if> > <a href="<c:url value="/secure/home/dashboard"> </c:url>"> Dashboard </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'ACTIVITIES'}"> class="active" </c:if> > <a href="<c:url value="/secure/home/activities"> </c:url>"> Activities </a></li>
	  </c:if>
	  
	  <!-- VOLUNTEERS -->
	  <c:if test="${requestScope.page == 'VOLUNTEERS'}">
	  	<li <c:if  test="${requestScope.subpage == 'ALL'}"> class="active" </c:if> > <a href="<c:url value="/secure/volunteers/all"> </c:url>"> Dashboard </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'SEARCH'}"> class="active" </c:if> > <a href="<c:url value="/secure/volunteers/search"> </c:url>"> Search </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'NEW'}"> class="active" </c:if> > <a href="<c:url value="/secure/volunteers/new"> </c:url>"> New Volunteer </a></li>
	  </c:if>
	  
	  <!-- PLUGIN -->
	  <c:if test="${requestScope.page == 'PLUGIN'}">
	  	<li <c:if  test="${requestScope.subpage == 'PENDING'}"> class="active" </c:if> > <a href="<c:url value="/secure/plugin/pending"> </c:url>"> Pending </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'REPORT'}"> class="active" </c:if> > <a href="<c:url value="/secure/plugin/report"> </c:url>"> Report </a></li>
	  </c:if>
	  
	  <!-- TRAINING -->
	  <c:if test="${requestScope.page == 'TRAINING'}">
	  	<li <c:if  test="${requestScope.subpage == 'ALL'}"> class="active" </c:if> > <a href="<c:url value="/secure/training/all"> </c:url>"> All </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'SEARCH'}"> class="active" </c:if> > <a href="<c:url value="/secure/training/search"> </c:url>"> Search </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'NEW'}"> class="active" </c:if> > <a href="<c:url value="/secure/training/new"> </c:url>"> New Training </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'TRAINER'}"> class="active" </c:if> > <a href="<c:url value="/secure/training/trainer"> </c:url>"> New Trainer </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'GRADES'}"> class="active" </c:if> > <a href="<c:url value="/secure/training/grades"> </c:url>"> Grades </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'REQUEST'}"> class="active" </c:if> > <a href="<c:url value="/secure/training/request"> </c:url>"> Training Request </a></li>
	  </c:if>
	  
	  <!-- PLACEMENT -->
	  <c:if test="${requestScope.page == 'PLACEMENT'}">
	  	<li <c:if  test="${requestScope.subpage == 'PENDING'}"> class="active" </c:if> > <a href="<c:url value="/secure/placement/pending"> </c:url>"> Pending </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'REPORT'}"> class="active" </c:if> > <a href="<c:url value="/secure/placement/report"> </c:url>"> Report </a></li>
	  </c:if>
	  
	  <!-- FEEDBACK -->
	  <c:if test="${requestScope.page == 'FEEDBACK'}">
	  	<li <c:if  test="${requestScope.subpage == 'RECENT'}"> class="active" </c:if> > <a href="<c:url value="/secure/feedback/recent"> </c:url>"> Event Feedbacks </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'ACTIVITIES'}"> class="active" </c:if> > <a href="<c:url value="/secure/feedback/activities"> </c:url>"> Add Feedback </a></li>
	  </c:if>
	  
	  <!-- ADMIN -->
	  <c:if test="${requestScope.page == 'ADMIN'}">
	  	<li <c:if  test="${requestScope.subpage == 'EVENTS'}"> class="active" </c:if> > <a href="<c:url value="/secure/admin/event"> </c:url>"> Events </a></li>
	  	<li <c:if  test="${requestScope.subpage == 'USERS'}"> class="active" </c:if> > <a href="<c:url value="/secure/admin/user"> </c:url>"> User </a></li>
	  </c:if>
	  
	</ul>
  </div>
</div>
